package org.elanfox.intellicommunity.msg.dto;

import lombok.Data;
import org.elanfox.intellicommunity.msg.ienum.CmdEnums;

/**
 * @author allan
 * @version 1.0.0
 * @date 12/29/20
 */
@Data
public class RawHeartbeatDTO extends RawMsgDTO {
    private static final long serialVersionUID = -2887835811107263714L;

    /**
     * 心跳间隔
     */
    private int interval;

    public RawHeartbeatDTO(CmdEnums.Code cmdCode, String hexStr) {
        super(cmdCode, hexStr);
    }
}
